package com.jiezhuo.interfaceEntity;

import com.jiezhuo.cache.RedisCache;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.concurrent.TimeUnit;

public @interface Rediskey {
    String redisKey() default  "";
    long time() default 0;
    TimeUnit UNIT() default TimeUnit.MINUTES;
}
